package com.rs.game.player.dialogues.impl;

import com.rs.game.WorldObject;
import com.rs.game.player.dialogues.Dialogue;

public class ClimbDungStairD extends Dialogue {


    private WorldObject object;
    
    @Override
    public void start() {
	this.object = (WorldObject) parameters[0];
	sendOptionsDialogue(DEFAULT_OPTIONS_TITLE, "Climb down.", "Cancel");

    }
    
    @Override
    public void run(int interfaceId, int componentId) {
	end();
	if(componentId == OPTION_1)
	    player.getHouse().climbStaircase(object, false);
	else
		end();
    }

    @Override
    public void finish() {

    }

}
